package com.boyi.center.controller.impl;


import com.boyi.center.controller.UserController;
import com.boyi.db.entity.User;
import com.boyi.shared.common.Result;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author 颜培轩
 * @date 2017年12月29日  0:04
 */
@RestController
@RequestMapping("user")
@Api(value = "用户信息管理模块接口->api", tags = {"API获取用户信息Controller"})
public class UserControllerImpl extends BaseControllerImpl<User> implements UserController {

    @PostMapping("test")
    public String test(User entity, String name) {
        return "success";
    }
}
